<?php

namespace App\Model;

use Illuminate\Database\Eloquent\Model;

class Order extends Model
{

    protected $table = 'orders';
    protected $guarded = [];

    public function member()
    {
        return $this->belongsTo('App\Model\Member');
    }
    
    public function order_products()
    {
        return $this->hasMany('App\Model\OrderProduct');
    }


}
